//
//  EVECDLearnedGroup.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 6/22/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>
#import "EVECDAbstractSkill.h"

@class EVECDCharacter;
@class EVECDSkillGroup;
@class EVECDLearnedSkill;

@interface EVECDLearnedGroup :  EVECDAbstractSkill  
{
}

@property (nonatomic, readonly) NSNumber* maxLevelSkills;
@property (nonatomic, retain) EVECDCharacter * learnedBy;
@property (nonatomic, retain) EVECDSkillGroup * group;
@property (nonatomic, retain) NSSet* learnedSkills;

@end


@interface EVECDLearnedGroup (CoreDataGeneratedAccessors)
- (void)addLearnedSkillsObject:(EVECDLearnedSkill *)value;
- (void)removeLearnedSkillsObject:(EVECDLearnedSkill *)value;
- (void)addLearnedSkills:(NSSet *)value;
- (void)removeLearnedSkills:(NSSet *)value;

@end

@interface EVECDLearnedGroup (BindingsAccessors)

-(NSString*)name;
-(NSSet*)learnedSkillTree;
-(NSArray*)trainedSkillTree;
-(BOOL)isLeaf;

@end